<head>
  <meta name="layout" content="main"/>
  <title>Show Account</title>
</head>

<body>

<div class="span-30 inner">
  <div class="nav">
    <span class="menuButton"><g:link action="edit">Edit Account</g:link></span>
    <span class="menuButton"><g:link action="icon">Upload Icon</g:link></span>
  </div>

  <h1>Show Account</h1>
  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
  <div class="dialog">
    <table>
      <tbody>

      <tr class="prop">
        <td><mw:icon username="${account.username}"/></td>
        <td></td>
      </tr>

      <tr class="prop">
        <td valign="top" class="name">Login Name:</td>
        <td valign="top" class="value">${account.username}</td>
      </tr>

      <tr class="prop">
        <td valign="top" class="name">Full Name:</td>
        <td valign="top" class="value">${account.userRealName}</td>
      </tr>

      <tr class="prop">
        <td valign="top" class="name">Description:</td>
        <td valign="top" class="value">${account.description}</td>
      </tr>

      </tbody>
    </table>
  </div>

  <div class="buttons">
    <g:form>
      <input type="hidden" name="id" value="${account.id}"/>
      <span class="button"><g:actionSubmit class="edit" value="Edit"/></span>
    </g:form>
  </div>

</div>
</body>
